package com.txzt.gaea.common.enums;

public enum DataPermissionTypeEnum {

    NO_PERMISSION("没有数据权限",0),
    ONLY_SELF("看自己",10),
    ONLY_DEPT("本部门",20),
    ALL("全部",30);

    String info;
    Integer code;

    DataPermissionTypeEnum(String info, Integer code) {
        this.info = info;
        this.code = code;
    }

    public Integer getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}
